DirectoryIndex file
Where file
is a file name.
Only one DirectoryIndex directive is allowed in the server configuration file.
DirectoryIndex index.htm
DirectoryIndex .index.htm
This would set DirectoryIndex to .index.htm. A request for
/dir
would cause the server to look for the file DocumentRoot/dir/.index.htm
. If
found, the server would send it back to the client. Otherwise, it
would create and return an index from the filesystem.
Return to Resource
Configuration File Overview